﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace Hu01
{
	class Program
	{
		static void Main(string[] args)
		{
			if (args.Length == 2)
			{
				using (Stream input = File.OpenRead(args[0]))
				using (Stream decompressedInput = new Hu01Stream(input))
				using (Stream output = File.OpenWrite(args[1]))
					decompressedInput.CopyTo(output);
			}
		}
	}
}
